package daily;

public class Solution122 {
    public static void main(String[] args) {
        Solution121 solution = new Solution121();
        long result = solution.maxProfit(new int[] {7, 1, 5, 3, 6,  4});
        System.out.println(result);
    }

}
